package com.by.mapper;

import com.by.bean.Coupon;
import com.by.bean.query.CouponQuery;
import com.by.common.core.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 优惠券Mapper层
 */
@Mapper
public interface CouponMapper extends IMapper<Coupon> {

    List<Map> queryCoupon(CouponQuery query);
}
